package com.examiner.dao;


import com.examiner.bean.test.TestItem;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface TestItemDao extends JpaRepository<TestItem,Integer>, JpaSpecificationExecutor<TestItem> {

    List<TestItem> findBySid(Integer testTypeId);

   void deleteBySid(Integer testTypeId);
}
